package com.woniuxy.mapper;

import com.woniuxy.entity.CommunicateComment;
import com.woniuxy.entity.CommunicateCommentExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CommunicateCommentMapper {
    long countByExample(CommunicateCommentExample example);

    int deleteByExample(CommunicateCommentExample example);

    int deleteByPrimaryKey(Integer commentId);

    int insert(CommunicateComment record);

    int insertSelective(CommunicateComment record);

    List<CommunicateComment> selectByExample(CommunicateCommentExample example);

    CommunicateComment selectByPrimaryKey(Integer commentId);

    int updateByExampleSelective(@Param("record") CommunicateComment record, @Param("example") CommunicateCommentExample example);

    int updateByExample(@Param("record") CommunicateComment record, @Param("example") CommunicateCommentExample example);

    int updateByPrimaryKeySelective(CommunicateComment record);

    int updateByPrimaryKey(CommunicateComment record);
}